# This function creates a ScormPackage object for use in creating and modifying ScormPackage objects.
createScormpackageObject = function(title = NULL, url = NULL, num_attempts = NULL, scorm_grading_enabled = NULL, sco_grading_enabled = NULL, grade_timing_type = NULL, grade_timing_option = NULL, available = NULL, completed = NULL, completion_status = NULL){
object = as.list(environment())
object = userObject[as.character(userObject) != "NULL"]
return(userObject)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.